Skip to content

M2: lib spine VM -r smoke gate (#1846) - #1850

Merged
PurHur merged 1 commit into
masterfrom
issue-1846-lib-spine-vm-smoke
May 25, 2026
Merged

M2: lib spine VM -r smoke gate (#1846)#1850
PurHur merged 1 commit into
masterfrom
issue-1846-lib-spine-vm-smoke

Conversation

@PurHur

@PurHur PurHur commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds BOOTSTRAP_LIB_SPINE_VM_SMOKE=1 make bootstrap-selfhost-lib-spine-vm-smoke to run vm_run_smoke (echo "vm-spine-ok") on the existing build/selfhost-lib-spine-smoke artifact.
  • Extends compiler_lib_spine_smoke/main.php with PHP_COMPILER_VM_SPINE_SMOKE dispatch and skips argv driver in cli_driver.php for native runs.
  • Opt-in CI hook BOOTSTRAP_LIB_SPINE_VM_SMOKE_GATE=1 in ci-local.sh llvm tail; wave-check --with-lib-spine-vm-smoke.

Test plan

  • vendor/bin/phpunit --filter BootstrapLibSpineVmSmokeTest (Docker)
  • BOOTSTRAP_LIB_SPINE_VM_SMOKE=1 make bootstrap-selfhost-lib-spine-vm-smoke (requires LLVM 9 native link green)
  • BOOTSTRAP_LIB_SPINE_VM_SMOKE=1 ./script/bootstrap-wave-check.sh --with-lib-spine-vm-smoke

Closes #1846

Made with Cursor

Wire PHP_COMPILER_VM_SPINE_SMOKE on the existing compiler_lib_spine_smoke
AOT binary so native runs exercise vm_run_smoke echo before M5 bin/vm.php.
Adds bootstrap script, Makefile target, wave-check flag, and opt-in CI hook.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Self-host M2: native bin/vm.php -r smoke on compiler_lib_spine bundle

1 participant